package com.dingding.dao.usermangerdao;

import com.dingding.bean.databean.request.ReqUserLogin;
import com.dingding.bean.databean.request.ReqUserLoginByNum;
import com.dingding.bean.databean.request.ReqUserRegister;
import com.dingding.bean.databean.response.ResUserLogin;
import com.dingding.bean.databean.response.ResUserLoginByNum;
import com.dingding.bean.entity.Phonevalidate;
import com.dingding.bean.entity.UserLogin;
import com.dingding.dao.basedao.IBaseDao;

public interface IUserLoginDao extends IBaseDao<UserLogin> {
	
	/**
	 * @return 
	 * 
	 * @Title: getUserInfo
	 * @Description: 获取实体bean  ResUserLogin
	 * @param reqUserLogin  请求bean
	 * @param userLogin     获取的登录对象
	 * @return  ResUserLogin
	 * @author Li Yi
	 * @return 
	 * @throws
	 */
	public Object getUserInfo(ReqUserLogin reqUserLogin,
			ResUserLogin resUserLogin);

	/**
	 * @Title: saveUserLogin
	 * @Description: 保存到用户登录信息表
	 * @param reqUserRegister
	 * @param @param userLoginId
	 * @param @return
	 * @author Li Yi
	 * @return
	 * @throws
	 */
	public void saveUserLogin(ReqUserRegister reqUserRegister,
			String userLoginId);

	/**
	 * @return 
	 * 
	 * @Title: getUserInfoByNum
	 * @Description: 获取实体bean  getUserInfoByNum
	 * @param reqUserLoginByNum  请求bean
	 * @return  resUserLoginByNum
	 * @author Li Yi
	 * @return 
	 * @throws
	 */
	public Object getUserInfoByNum(ReqUserLoginByNum reqUserLoginByNum, ResUserLoginByNum resUserLoginByNum,Phonevalidate phonevalidate);

	/**
	 * @Title: saveUserLoginByNum @Description: 保存到用户登录信息表 @param
	 *         reqUserLoginByNum @param userLoginId @param @return @author Li
	 *         Yi @return @throws
	 */
	public void saveUserLoginByNum(ReqUserLoginByNum reqUserLoginByNum, String userLoginId, String newAliasId);
}
